package com.testpro.java.Steam;

import lombok.ToString;

import java.util.Date;

/**
 * @author Administrator testdevops
 * @description 测试对象类型
 * @create 2019-07-08 12:58
 */
@ToString
public class Person {
  /** 年龄 */
  private int age;
  /** 生日 */
  private Date birthday;
  /** 姓名 */
  private String name;
  /** 薪水 */
  private Double sally;
  /** 父亲 */
  private Person father;

  public int getAge() {
    return age;
  }

  public Person setAge(int age) {
    this.age = age;
    return this;
  }

  public Date getBirthday() {
    return birthday;
  }

  public Person setBirthday(Date birthday) {
    this.birthday = birthday;
    return this;
  }

  public String getName() {
    return name;
  }

  public Person setName(String name) {
    this.name = name;
    return this;
  }

  public Double getSally() {
    return sally;
  }

  public Person setSally(Double sally) {
    this.sally = sally;
    return this;
  }

  public Person getFather() {
    return father;
  }

  public Person setFather(Person father) {
    this.father = father;
    return this;
  }
}
